package com.yuantu.judiciary.model.domain;

import com.yuantu.judiciary.model.BaseDO;
import com.yuantu.judiciary.model.enums.SearchType;
import lombok.Data;
import org.hibernate.annotations.Comment;

import javax.persistence.*;

/**
 * 外部接口操作日志表
 *
 * @author syw
 * @since 2023-06-12
 **/
@Data
@Entity
@Table(name = "sys_oper_log_api")
public class SysOperLogApiDO extends BaseDO {

    private String title;
    private String url;
    private String param;
    private String status;
    private String description;
    /**
     * 查询类型
     */
    @Enumerated(EnumType.STRING)
    @Column(length = 100, nullable = false)
    @Comment("查询类型")
    private SearchType type;

}
